package com.hzx.dao;

import com.hzx.pojo.Sort;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface SortMapper {

    Integer deleteByPrimaryKey(Integer id);

    Integer insert(Sort record);

    Integer insertSelective(Sort record);

    Sort selectByPrimaryKey(Integer id);

    Integer updateByPrimaryKeySelective(Sort record);

    Integer updateByPrimaryKey(Sort record);

    Sort selectByKind(String kind);

    List getall();
}
